package com.cogent.dynamicform.bus;

import java.util.HashMap;
import java.util.List;

import com.cogent.dao.facade.BussinessDaoFacade;
import com.cogent.dynamicform.domain.FormDomain;

/**
 * 默认通用配置的业务处理接口
 * @author 代玉松
 *
 */
public interface DynamicFormBussiness {
	public void getAddValue(FormDomain formDomain, HashMap formMap);
	public List getQueryList(FormDomain formDomain, HashMap formMap);
	public String getScript(FormDomain formDomain);
	public String validator(FormDomain formDomain, HashMap dataMap);
	public String dealBussiness(BussinessDaoFacade bussinessFacade, FormDomain formDomain, HashMap dataMap);
	public String dealBussiness(BussinessDaoFacade bussinessFacade, FormDomain formDomain, HashMap dataMap, boolean ispda);
}
